

#ifndef BUTTONS_DRIVER_H
#define BUTTONS_DRIVER_H

#include <p18f4550.h>
#include "GPD_Driver.h"
#include "stdtypedef.h"
#include "Motores_Driver.h"
#include "Timer_Driver.h"
#include "Interruption_Driver.h"



extern enum Estados
{
	IDLE,
	Check500ms,
	Check1000ms,
	StartMotor,
	Scroll_1,
	Scroll_2,
} State;

extern enum EstadoBotones
{
	SinPresionar,
	UpPresionado,
	DownPresionado
} Botones;



extern void initButtons(void);

#define BotonUp			PORTBbits.RB0
#define BotonDown		PORTBbits.RB1


//Functions Prototype










#endif